package br.com.equipe1.dao;

import java.sql.Connection;
import java.sql.DriverManager;

public class Conexao {
	
	    private static final String URL = "jdbc:jtds:sqlserver://localhost:1433/BD_Avaliacao";   
	    private static final String USUARIO ="sa";  
	    private static final String SENHA = "123"; 
	
	
	public static Connection criarConexao() throws Exception{
		Class.forName("net.sourceforge.jtds.jdbc.Driver");
		Connection conn = DriverManager.getConnection(URL,USUARIO,SENHA);
		System.out.println("conectando...");
		return conn;
	}

}
